<?php
/**
 * com_bib      Developed using Nooku Framework 0.7 (see README.php for revision number)
 * @package		Bib
 * @copyright   Copyright (C) 2009 Danny Buytaert. All rights reserved.
 * @license     http://www.gnu.org/copyleft/gpl.html GNU/GPLv2
 */

 // no direct access
defined('_JEXEC') or die('Restricted access');

class ComBibViewBooksHtml extends ComBibViewHtml
{
	public function display($tpl = null)
	{
		// Mixin a submenu object
        $this->mixin( KFactory::get('admin::com.bib.mixin.submenu', array('mixer' => $this)));
		$this->displaySubmenu();
		//get the model of bookletters 
		$model = KFactory::get('admin::com.bib.model.bookletters');
		//getList = get all data of this model
		$this->assign('letters',  $model->getList());

		parent::display($tpl);
	}

}